stylecontext: Move property cache
authorBenjamin Otte <otte@redhat.com>
Tue, 10 Jun 2014 22:30:30 +0000 (00:30 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 10 Jun 2014 23:18:05 +0000 (01:18 +0200)
commit57c4f01e0d847393de702ee63d82f28a46ae8863
treec193874002f48e4ecdc79a8c4ac1069b49c0ec66
parent6f2eb1d62706e419518219726245065e8873ecd0
stylecontext: Move property cache

... from per style data to only existing once per style context. This is
technically an API break because it no longer allows getting different
style properties between save()/restore() pairs, but I don't think this
was ever intended to work that way, as the style property API was to be
used and is used via gtk_widget_get_style().

And it simplifies code a lot.
gtk/gtkstylecontext.c